<!DOCTYPE html>
<html lang="en" class="sss111s">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <link rel="stylesheet" type="text/css" href="模态框.css" >
    </head>
    <body>
        <div class="bordermtk">
            <div class="metai" style="display:none"><p id="box_xieyi">用户协议：请同意！</p><p id="box_ty"><a id="box_ty1" href="#">同意</a></p></div>
            <div class="bordermtk1-1">成功人士网站</div>
            <div class="bordermtk1-2"><span>注册</span><span id="dhdenglu"><a href="#">登陆</a></span><span>关于</span><span></span></div>
        </div>
        <div class="bordermtk2">
            <div class="bordermtk2-1">
                <div class="borderltk" style="display: none">
                    <div class="borderltk1">
                        <div class="borderltk1-1"><a id="mimatu" href="#">密码登陆</a></div>
                        <div class="borderltk1-2"><a id="duanxin" href="#">短信登陆</a></div>
                        <div class="borderltk1-3"><form><input class="zhangh" id="zhanghao" type="number" placeholder=" 请输入您的账号"><form><input id="mima" class="zhangh" type="password" placeholder=" 请输入您的密码"></form></form></div>
                        <div class="borderltk1-4"><a id="wangmima" href="#"><span >忘记密码</span></a></div>
                        <div class="borderltk1-5"><a id="denglu" href="#"><span id="inter">登陆</span></a></div>
                    </div>
                    <div class="borderltk2"></div>
                </div>
            </div>
            <div class="bordermtk2-2"></div>
        </div>
    <script src="./jquery.min.js"></script>
    <script>
        var mote=$("#inter");
        var motai=$(".metai");
        mote.click(
            function () {
                motai.css("display","block");
                $(".borderltk").css("display","none");
            }
        );
        var box_ty=$("#box_ty1");
        box_ty.click(
            function () {
                motai.css("display","none");
                $(".borderltk").css("display","none");
            }
        );
        var dhdenglu=$("#dhdenglu");
        dhdenglu.click(
            function () {
                $(".borderltk").css("display","block");
            }
        )
    </script>
    </body>
</html>